package com.alenus.redis.serviceImpl;

import com.alenus.redis.dao.DepartmentDao;
import com.alenus.redis.domain.Department;
import com.alenus.redis.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by pactera on 2018/10/15.
 */
@Service
public class DepartmentServiceImpl implements DepartmentService {

    @Autowired
    public DepartmentDao departmentDao;

    @Override
    public Department queryObject(int id) {
        return departmentDao.queryObject(id);
    }
}
